package com.ruoyi.model.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型基本信息对象 model_info
 * 
 * @author genghz
 * @date 2021-10-20
 */
public class ModelInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模型ID */
    private Long modelId;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String modelName;

    /** 模型描述 */
    @Excel(name = "模型描述")
    private String modelDesc;

    /** 模型详细信息信息 */
    private List<ModelColumnInfo> modelColumnInfoList;

    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setModelDesc(String modelDesc) 
    {
        this.modelDesc = modelDesc;
    }

    public String getModelDesc() 
    {
        return modelDesc;
    }

    public List<ModelColumnInfo> getModelColumnInfoList()
    {
        return modelColumnInfoList;
    }

    public void setModelColumnInfoList(List<ModelColumnInfo> modelColumnInfoList)
    {
        this.modelColumnInfoList = modelColumnInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modelId", getModelId())
            .append("modelName", getModelName())
            .append("modelDesc", getModelDesc())
            .append("modelColumnInfoList", getModelColumnInfoList())
            .toString();
    }
}
